//
//  SLNavigationController.h
//  ShunLianPower2
//
//  Created by 陈镇 on 2017/10/14.
//  Copyright © 2017年 陈镇. All rights reserved.
//

#import <QMUIKit/QMUIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol SLNavigationControllerBackButtonHandlerProtocol <NSObject>
@optional
/** 禁止自定义手势 返回No  默认yes */
-(BOOL)isUsePanGestureRecognizer;

@end

@interface SLNavigationController : QMUINavigationController

/// 额外信息，可用于传递信息等
@property (nonatomic, strong, nullable) NSDictionary *userInfo;

/// 消失回调
@property (nonatomic, strong, nullable) dispatch_block_t dismissBlock;

@end



@interface UIViewController (BackButtonHandler)<SLNavigationControllerBackButtonHandlerProtocol>

@end
NS_ASSUME_NONNULL_END
